home *** CD-ROM | disk | FTP | other *** search
-
- Program name: AskFirst
-
- Written with: Cape Assembler 2.0
-
- Machine: Standard Amiga 500 with OS1.3, One floppy drive,1 MByte RAM
-
- Author: Kamran Karimi
-
- Source: Included
-
- Run methode: From both WorkBench and Shell (As all Amiga Programs should)
-
- What it does: A software disk write protection.Optionally disables writes
- on a write-enabled floppy.
-
- By the way: This is not the final version of the program!
-
- Program status:This program is semi-shareware meaning that I would like to
- receive money, books or software if you use this program, but it is not at all
- obligatory for poor Amiga users (I am one of them!).
- I retain the CopyWrite to to the program including the source and the
- executable form of it.
-
- Directory contents:
- AskFirst
- AskFirst.s
- AskFirst.ReadMe
-
-
-
- This program is intended as a substitute for the write enable/disable notch
- on the 3.5" disks.My intention was to force the OS to believe that the disk
- is write protected eventhough the disk is in the write enable state.
-
- It opens a small window with a gadget which can be toggled to OK and NO
- states.OK means you want to write to disks which are write enabled but NO
- means you want writes to be disabled even on write enabled disks.
-
- AskFirst installs two routines at the DoIO and SendIO vectors and when a
- request comes to see whether the disk is write protected or not, the routine
- returns a result showing that the disk IS write protected.When you insert
- a disk in the drive the system obtaines information about it (its name,whether
- write protected or not etc.),at this time the routine tells the system that
- the disk is write protected.then the system won't let any writes
- on the disk. There is a drawback: the protection will be in effect only
- when the user changes the disk, not when the gadget is chosen.For example
- consider you have clicked the gadget to the NO state,if you want to force
- the computer to believe that the disk is write protected you should take the
- disk out and put it in again,after that all the disks inserted would be
- protected from writing till you 'select OK AND make a disk change'.To help
- the user overcome this shortcomming, the program writes 'In Effect' when
- the chosen state is in effect and 'Not In Effect' when not.In the case you
- see 'Not In effect', just make a disk change.Please remember that if you have
- more than one drive, then you should take out the disks from ALL of the drives
- available and then put them in again, otherwise the chosen state will show
- the correct situation only for the drive for which you made a disk change.
-
-
- Important note:after executing AskFirst, some virus killer programs may say
- that a virus is in memory.This ofcourse is not the case.Do not try to remove
- AskFirst by a virus killer, it will crash the system.Note that this program
- will divert the DoIO and SendIO vectors at the start and restore the original
- values when exiting. If you use a program like NoChange, never klick 'restore
- vectore' either at the start or end of the program.At the start, choosing
- 'restore vectores' will disable AskFirst and after it's exit will crash the
- computer!.
-
-
- When run from the shell, you can enter an optional 'no' (not case sensetive)
- after the program name, Then the gadget will be set to NO.
-
- It would be much better if the gadget state would have effect as soon as it
- was chosen.Does anybody knows where the system stores the information it gets
- when a disk in inserted?, or do you know how we can force the system to
- believe that a disk change has ocurred without actully changing the disk?.
- Please let me also know.
-
-
- There is no Cape-Specific feature in this program, so it should be possible
- to assemble it with other assemblers.
-
- I have not tested the program under any other OS version, processor or with
- more than one floppy.Maybe someone will test it and kindly let me know about
- the results.
-
-
- You can pay for the program in three ways:
-
- 1) Send a small donnation.
-
- 2) Send me computer books (especially Amiga books) ,Software or manuals you
- don't need any more, or even photocopies of articles in books or magazines
- containing Amiga programming guides or examples.
- Here in Iran I have not much access to information on the Amiga so I would
- apreciate receiving technical information in any form.
-
- 3)Send me bug reports and mention the weak points of the program and the ways
- to improve it.My main reason of writing programs is to learn more.
-
-
- Send any bugs you find or any suggestions or donnations to
-
- Kamran Karimi
- 2,Hassanabad
- Haghshenas str.
- Navab str.
- 13599 - Tehran
- Iran
-
-